<template>
    <div class="fieldModal-wrapper">
        <defaultModalList type="fieldList" @close="getFieldRow" v-bind="$attrs" v-on="$listeners"></defaultModalList>
    </div>
</template>

<script>
import defaultModalList from './defaultModalList.vue';
export default {
    components: {
        defaultModalList
    },
    data () {
        return {

        }
    },
    computed: {

    },
    watch: {

    },
    created () {

    },
    mounted () {

    },
    methods: {
        getFieldRow(row){
            this.$emit("chooseField",row)
        }
    },
    activated () { },
}
</script>

<style lang='scss' scoped>
.fieldModal-wrapper {
    position: absolute;
    background: #FFF;
    min-width: 150px;
    border: 1px solid #EBEEF5;
    z-index: 2000;
    color: #606266;
    line-height: 1.4;
    text-align: justify;
    font-size: 14px;
    box-shadow: 0 2px 12px 0 rgb(0, 0, 0, 10%);
    word-break: break-all;
}
</style>
